package priv.pfz.basedao.generator;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yyjxp
 * 2024/2/5 23:46
 */
@Getter
@RequiredArgsConstructor
public enum FieldType {
    STRING(String.class, null),
    INTEGER(Integer.class, null),
    LONG(Long.class, null),
    BIG_DECIMAL(BigDecimal.class, "java.math.BigDecimal"),
    DATE(Date.class, "java.util.Date"),
    BYTE_ARRAY(byte[].class, ""),;

    private final Class<?> type;
    private final String importStr;
}
